package pk.nak.data;

import java.util.ArrayList;

public class EatOutMenuItemPrices {
	private ArrayList<EatOutMenuItemPriceGroup> priceGroups;
	private String eatoutName;
	private String eatoutType;
	
	public EatOutMenuItemPrices(String eatoutName,String eatoutType) {
		super();
		this.priceGroups = new ArrayList<EatOutMenuItemPriceGroup>();
		this.eatoutName = eatoutName;
		this.eatoutType = eatoutType;
	}

	/**
	 * @return the eatoutName
	 */
	public String getEatoutName() {
		return eatoutName;
	}

	/**
	 * @param eatoutName the eatoutName to set
	 */
	public void setEatoutName(String eatoutName) {
		this.eatoutName = eatoutName;
	}

	/**
	 * @return the eatoutType
	 */
	public String getEatoutType() {
		return eatoutType;
	}

	/**
	 * @param eatoutType the eatoutType to set
	 */
	public void setEatoutType(String eatoutType) {
		this.eatoutType = eatoutType;
	}

	/**
	 * @return the eatouts
	 */
	public ArrayList<EatOutMenuItemPriceGroup> getPriceGroups() {
		return priceGroups;
	}
	
	public void addPriceGroup(EatOut eo, double price){
		this.priceGroups.add(new EatOutMenuItemPriceGroup(eo, price));
	}
}
